﻿<Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:metro="http://schemas.codeplex.com/elysium"
      xmlns:params="http://schemas.codeplex.com/elysium/params"
      x:Name="page_setting"
      x:Class="WGM.PageSetting"
      mc:Ignorable="d" 
      d:DesignHeight="499" d:DesignWidth="1042"
	Title="PageSetting" Width="Auto" Height="Auto" Loaded="page_setting_Loaded">
    <Grid Background="{Binding Background, ElementName=textbox_name}">
        <GroupBox Header="General Option" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="116" Width="513" Foreground="{Binding Foreground, ElementName=radio_all}">
            <Grid>
                <Button x:Name="button_editdb" Content="Edit DB" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Padding="5" Click="button_editdb_Click" Width="208"/>
                <Button x:Name="button_editcover" Content="Add Cover Art" Margin="223,10,10,0" VerticalAlignment="Top" Padding="5" Click="button_editcover_Click"/>
                <Button x:Name="button_backupath" Content="Set Backup Path" Margin="10,0,0,10" Padding="5" HorizontalAlignment="Left" Click="button_backupath_Click" Width="163" Height="29" VerticalAlignment="Bottom"/>
                <TextBox x:Name="textbox_backpath" Height="29" Margin="178,0,10,10" TextWrapping="Wrap" VerticalAlignment="Bottom"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="Interface Option" HorizontalAlignment="Left" Margin="10,131,0,10" Width="513" Foreground="{Binding Foreground, ElementName=radio_all}">
            <Grid>
                <Label Content="Selection:" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontFamily="Segoe WP Semibold"/>
                <RadioButton x:Name="radio_all" Content="All Games" HorizontalAlignment="Left" Margin="10,41,0,0" VerticalAlignment="Top" GroupName="select" Checked="radio_all_Checked"/>
                <RadioButton x:Name="radio_in" Content="In Progress" HorizontalAlignment="Left" Margin="109,41,0,0" VerticalAlignment="Top" GroupName="select" Checked="radio_in_Checked"/>
                <RadioButton x:Name="radio_unf" Content="Unfinished" HorizontalAlignment="Left" Margin="211,41,0,0" VerticalAlignment="Top" GroupName="select" Checked="radio_unf_Checked"/>
                <RadioButton x:Name="radio_uns" Content="Unstarted" HorizontalAlignment="Left" Margin="310,41,0,0" VerticalAlignment="Top" GroupName="select" Checked="radio_uns_Checked"/>
                <RadioButton x:Name="radio_com" Content="Favorite" HorizontalAlignment="Left" Margin="404,41,0,0" VerticalAlignment="Top" GroupName="select" Checked="radio_com_Checked"/>
                <Label Content="Review" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,88,0,0" VerticalAlignment="Top" FontFamily="Segoe WP Semibold"/>
                <RadioButton x:Name="radio_reviewon" Content="On" HorizontalAlignment="Left" Margin="10,119,0,0" VerticalAlignment="Top" GroupName="review" Checked="radio_reviewon_Checked"/>
                <RadioButton x:Name="radio_reviewoff" Content="Off" HorizontalAlignment="Left" Margin="109,119,0,0" VerticalAlignment="Top" GroupName="review" Checked="radio_reviewoff_Checked"/>
                <Label Content="Edit Mode:" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,162,0,0" VerticalAlignment="Top" FontFamily="Segoe WP Semibold"/>
                <RadioButton x:Name="radio_editon" Content="On" HorizontalAlignment="Left" Margin="10,198,0,0" VerticalAlignment="Top" Checked="radio_editon_Checked" GroupName="edit"/>
                <RadioButton x:Name="radio_editoff" Content="Off" HorizontalAlignment="Left" Margin="109,198,0,0" VerticalAlignment="Top" Checked="radio_editoff_Checked" GroupName="edit"/>
                <Label Content="In Progress:" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,245,0,0" VerticalAlignment="Top" FontFamily="Segoe WP Semibold"/>
                <RadioButton x:Name="radio_ip" Content="3 Days" HorizontalAlignment="Left" Margin="10,276,0,0" VerticalAlignment="Top" GroupName="ipstats" Checked="radio_ip_Checked"/>
                <RadioButton x:Name="radio_ipoff" Content="7 Days" HorizontalAlignment="Left" Margin="109,276,0,0" VerticalAlignment="Top" GroupName="ipstats" Checked="radio_ipoff_Checked"/>
                <RadioButton x:Name="radio_week" Content="This Week" HorizontalAlignment="Left" Margin="211,276,0,0" VerticalAlignment="Top" GroupName="ipstats" Checked="radio_week_Checked"/>
                <RadioButton x:Name="radio_month" Content="This Month" HorizontalAlignment="Left" Margin="310,276,0,0" VerticalAlignment="Top" GroupName="ipstats" Checked="radio_month_Checked"/>
                <Label Content="Screen Size:" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="Segoe WP Semibold" Margin="5,264,0,0" Visibility="Hidden"/>
                <RadioButton x:Name="radio_screen" Content="Small" HorizontalAlignment="Left" VerticalAlignment="Top" GroupName="screen" Margin="10,295,0,0" Checked="radio_screen_Checked" Visibility="Hidden"/>
                <RadioButton x:Name="radio_screenoff" Content="Full Screen" HorizontalAlignment="Left" VerticalAlignment="Top" GroupName="screen" Margin="109,295,0,0" Checked="radio_screenoff_Checked" Visibility="Hidden"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="Theme Option" Margin="0,10,10,0" VerticalAlignment="Top" Height="116" HorizontalAlignment="Right" Width="497" Foreground="{Binding Foreground, ElementName=radio_all}">
            <Grid>
                <Label Content="Theme:" Foreground="{Binding Foreground, ElementName=radio_all}" VerticalAlignment="Top" FontFamily="Segoe WP Semibold" Margin="10,12,0,0" HorizontalAlignment="Left" Width="50"/>
                <ComboBox x:Name="combobox_fcolor" VerticalAlignment="Top" Margin="65,10,0,0" HorizontalAlignment="Left" Width="190">
                    <ComboBoxItem Content="Light"/>
                    <ComboBoxItem Content="Dark"/>
                </ComboBox>
                <ComboBox x:Name="combobox_tcolor" VerticalAlignment="Top" HorizontalAlignment="Right" Width="206" Margin="0,10,10,0">
                    <MenuItem Header="Blue" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Blue}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Green" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Green}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Lime" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Lime}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Magenta" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Magenta}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Mango" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Mango}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Orange" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Orange}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Pink" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Pink}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Purple" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Purple}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Red" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Red}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Rose" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Rose}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Sky" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Sky}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Viridian" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Viridian}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Violet" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{Binding Foreground, ElementName=combobox_tcolor}">
                        <MenuItem.Icon>
                            <Rectangle Fill="{x:Static metro:AccentBrushes.Violet}" Width="16" Height="16"/>
                        </MenuItem.Icon>
                    </MenuItem>
                </ComboBox>
                <Button x:Name="button_applytheme" Content="Apply" VerticalAlignment="Bottom" Click="button_applytheme_Click" Margin="10,0,10,10"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="Add a Game" Margin="0,131,10,10" HorizontalAlignment="Right" Width="497" Foreground="{Binding Foreground, ElementName=radio_all}">
            <Grid>
                <Label Content="Name" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,10,0,0" FontFamily="Segoe WP Semibold" Height="26" VerticalAlignment="Top"/>
                <TextBox x:Name="textbox_name" Margin="98,13,10,0" TextWrapping="Wrap" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top"/>
                <Button x:Name="button_create" Content="Save &amp; Create" Margin="10,0,10,46" Padding="5,0" VerticalContentAlignment="Center" Click="button_create_Click" Height="31" VerticalAlignment="Bottom"/>
                <Label x:Name="label_created" Foreground="{Binding Foreground, ElementName=radio_all}" Margin="10,0,10,20" HorizontalContentAlignment="Center" Height="26" VerticalAlignment="Bottom"/>
                <metro:ProgressBar x:Name="progressbar_create" Height="10" Margin="10,0,10,10" VerticalAlignment="Bottom"/>
                <Label Content="Completed" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="156,38,0,0" FontFamily="Segoe WP Semibold" Height="26" VerticalAlignment="Top"/>
                <Label Content="Description" Foreground="{Binding Foreground, ElementName=radio_all}" HorizontalAlignment="Left" Margin="10,38,0,0" FontFamily="Segoe WP Semibold" Height="26" VerticalAlignment="Top"/>
                <TextBox x:Name="textbox_description" Margin="10,67,206,88" TextWrapping="Wrap" VerticalContentAlignment="Top" AcceptsReturn="True"/>
                <Button x:Name="button_coverart" Content="Set Cover Art" Margin="294,129,10,0" Padding="5,0" VerticalContentAlignment="Center" Height="31" VerticalAlignment="Top" Click="button_coverart_Click"/>
                <Button x:Name="button_exe" Content="Set Path to Exe" Margin="294,173,10,0" Padding="5,0" VerticalContentAlignment="Center" Height="31" VerticalAlignment="Top" IsEnabled="False"/>
                <Button x:Name="button_savegame" Content="Set Path to SaveGame" Margin="294,217,10,0" Padding="5,0" VerticalContentAlignment="Center" Height="31" VerticalAlignment="Top" IsEnabled="False"/>
                <metro:ToggleSwitch x:Name="switch_completed" HorizontalAlignment="Left" Margin="231,44,0,0" VerticalAlignment="Top"/>
                <ComboBox x:Name="comboxbox_type" Margin="0,45,10,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="181" SelectedIndex="0">
                    <ComboBoxItem Content="Type"/>
                    <ComboBoxItem Content="-----------"/>
                    <ComboBoxItem Content="Action"/>
                    <ComboBoxItem Content="Aventure"/>
                    <ComboBoxItem Content="FPS"/>
                    <ComboBoxItem Content="MMORPG"/>
                    <ComboBoxItem Content="Racing"/>
                    <ComboBoxItem Content="RPG"/>
                    <ComboBoxItem Content="Simulation"/>
                    <ComboBoxItem Content="Strategy"/>
                    <ComboBoxItem Content="Survival"/>
                </ComboBox>
                <ComboBox x:Name="combobox_compatibility" Margin="0,86,10,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="181" SelectedIndex="0">
                    <ComboBoxItem Content="Compatibility"/>
                    <ComboBoxItem Content="--------------"/>
                    <ComboBoxItem Content="Windows 8"/>
                    <ComboBoxItem Content="Windows 8 Fix"/>
                    <ComboBoxItem Content="Broken"/>
                </ComboBox>
            </Grid>
        </GroupBox>
    </Grid>
</Page>
